package com.zdpx.pxframework.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdpx.pxframework.system.entity.RoleDepartmentDataScope;

import java.util.List;


/**
 * 角色部门数据权限 服务类
 *
 * @Description:
 * @Author: Cheng Xiaoxiao
 * @Date: 2022-05-26 16:43:27
 */
public interface RoleDepartmentDataScopeService extends IService<RoleDepartmentDataScope> {
    /**
     * 根据角色ID列表查询所拥有的部门ID列表
     *
     * @param roleIds 角色ID
     * @return 部门权限数据
     */
    List<String> listDepartmentsByRoleIds(List<String> roleIds);
}
